Integrand size = 25, antiderivative size = 162 \[ \int \frac {\left (A+B x^2\right ) \left (a+b x^2+c x^4\right )^3}{x} \, dx=\frac {1}{2} a^2 (3 A b+a B) x^2+\frac {3}{4} a \left (a b B+A \left (b^2+a c\right )\right ) x^4+\frac {1}{6} \left (3 a B \left (b^2+a c\right )+A \left (b^3+6 a b c\right )\right ) x^6+\frac {1}{8} \left (b^3 B+3 A b^2 c+6 a b B c+3 a A c^2\right ) x^8+\frac {3}{10} c \left (b^2 B+A b c+a B c\right ) x^{10}+\frac {1}{12} c^2 (3 b B+A c) x^{12}+\frac {1}{14} B c^3 x^{14}+a^3 A \log (x) \]
1/2*a^2*(3*A*b+B*a)*x^2+3/4*a*(a*b*B+A*(a*c+b^2))*x^4+1/6*(3*a*B*(a*c+b^2) +A*(6*a*b*c+b^3))*x^6+1/8*(3*A*a*c^2+3*A*b^2*c+6*B*a*b*c+B*b^3)*x^8+3/10*c *(A*b*c+B*a*c+B*b^2)*x^10+1/12*c^2*(A*c+3*B*b)*x^12+1/14*B*c^3*x^14+a^3*A* ln(x)
Time = 0.08 (sec) , antiderivative size = 162, normalized size of antiderivative = 1.00 \[ \int \frac {\left (A+B x^2\right ) \left (a+b x^2+c x^4\right )^3}{x} \, dx=\frac {1}{2} a^2 (3 A b+a B) x^2+\frac {3}{4} a \left (a b B+A \left (b^2+a c\right )\right ) x^4+\frac {1}{6} \left (3 a B \left (b^2+a c\right )+A \left (b^3+6 a b c\right )\right ) x^6+\frac {1}{8} \left (b^3 B+3 A b^2 c+6 a b B c+3 a A c^2\right ) x^8+\frac {3}{10} c \left (b^2 B+A b c+a B c\right ) x^{10}+\frac {1}{12} c^2 (3 b B+A c) x^{12}+\frac {1}{14} B c^3 x^{14}+a^3 A \log (x) \]
(a^2*(3*A*b + a*B)*x^2)/2 + (3*a*(a*b*B + A*(b^2 + a*c))*x^4)/4 + ((3*a*B* (b^2 + a*c) + A*(b^3 + 6*a*b*c))*x^6)/6 + ((b^3*B + 3*A*b^2*c + 6*a*b*B*c + 3*a*A*c^2)*x^8)/8 + (3*c*(b^2*B + A*b*c + a*B*c)*x^10)/10 + (c^2*(3*b*B + A*c)*x^12)/12 + (B*c^3*x^14)/14 + a^3*A*Log[x]
Time = 0.34 (sec) , antiderivative size = 165, normalized size of antiderivative = 1.02, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {1578, 1195, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\left (A+B x^2\right ) \left (a+b x^2+c x^4\right )^3}{x} \, dx\) |
\(\Big \downarrow \) 1578 |
\(\displaystyle \frac {1}{2} \int \frac {\left (B x^2+A\right ) \left (c x^4+b x^2+a\right )^3}{x^2}dx^2\) |
\(\Big \downarrow \) 1195 |
\(\displaystyle \frac {1}{2} \int \left (B c^3 x^{12}+c^2 (3 b B+A c) x^{10}+3 c \left (B b^2+A c b+a B c\right ) x^8+\left (B b^3+3 A c b^2+6 a B c b+3 a A c^2\right ) x^6+\left (3 a B \left (b^2+a c\right )+A \left (b^3+6 a c b\right )\right ) x^4+3 a \left (a b B+A \left (b^2+a c\right )\right ) x^2+a^2 (3 A b+a B)+\frac {a^3 A}{x^2}\right )dx^2\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{2} \left (a^3 A \log \left (x^2\right )+a^2 x^2 (a B+3 A b)+\frac {3}{5} c x^{10} \left (a B c+A b c+b^2 B\right )+\frac {3}{2} a x^4 \left (A \left (a c+b^2\right )+a b B\right )+\frac {1}{4} x^8 \left (3 a A c^2+6 a b B c+3 A b^2 c+b^3 B\right )+\frac {1}{3} x^6 \left (A \left (6 a b c+b^3\right )+3 a B \left (a c+b^2\right )\right )+\frac {1}{6} c^2 x^{12} (A c+3 b B)+\frac {1}{7} B c^3 x^{14}\right )\) |
(a^2*(3*A*b + a*B)*x^2 + (3*a*(a*b*B + A*(b^2 + a*c))*x^4)/2 + ((3*a*B*(b^ 2 + a*c) + A*(b^3 + 6*a*b*c))*x^6)/3 + ((b^3*B + 3*A*b^2*c + 6*a*b*B*c + 3 *a*A*c^2)*x^8)/4 + (3*c*(b^2*B + A*b*c + a*B*c)*x^10)/5 + (c^2*(3*b*B + A* c)*x^12)/6 + (B*c^3*x^14)/7 + a^3*A*Log[x^2])/2
3.1.99.3.1 Defintions of rubi rules used
Int[((d_.) + (e_.)*(x_))^(m_.)*((f_.) + (g_.)*(x_))^(n_.)*((a_.) + (b_.)*(x _) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(d + e*x)^m*(f + g*x)^n*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, f, g, m, n}, x ] && IGtQ[p, 0]
Int[(x_)^(m_.)*((d_) + (e_.)*(x_)^2)^(q_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_ )^4)^(p_.), x_Symbol] :> Simp[1/2 Subst[Int[x^((m - 1)/2)*(d + e*x)^q*(a + b*x + c*x^2)^p, x], x, x^2], x] /; FreeQ[{a, b, c, d, e, p, q}, x] && Int egerQ[(m - 1)/2]
Time = 0.04 (sec) , antiderivative size = 167, normalized size of antiderivative = 1.03
method | result | size |
norman | \(\left (\frac {1}{12} A \,c^{3}+\frac {1}{4} B b \,c^{2}\right ) x^{12}+\left (\frac {3}{2} A \,a^{2} b +\frac {1}{2} B \,a^{3}\right ) x^{2}+\left (\frac {3}{10} A b \,c^{2}+\frac {3}{10} B a \,c^{2}+\frac {3}{10} B \,b^{2} c \right ) x^{10}+\left (\frac {3}{4} A c \,a^{2}+\frac {3}{4} A a \,b^{2}+\frac {3}{4} B \,a^{2} b \right ) x^{4}+\left (\frac {3}{8} A a \,c^{2}+\frac {3}{8} A \,b^{2} c +\frac {3}{4} B a b c +\frac {1}{8} B \,b^{3}\right ) x^{8}+\left (A a b c +\frac {1}{6} A \,b^{3}+\frac {1}{2} a^{2} B c +\frac {1}{2} B a \,b^{2}\right ) x^{6}+\frac {B \,c^{3} x^{14}}{14}+a^{3} A \ln \left (x \right )\) | \(167\) |
default | \(\frac {B \,c^{3} x^{14}}{14}+\frac {A \,c^{3} x^{12}}{12}+\frac {B b \,c^{2} x^{12}}{4}+\frac {3 A b \,c^{2} x^{10}}{10}+\frac {3 B a \,c^{2} x^{10}}{10}+\frac {3 B \,b^{2} c \,x^{10}}{10}+\frac {3 A a \,c^{2} x^{8}}{8}+\frac {3 A \,b^{2} c \,x^{8}}{8}+\frac {3 B a b c \,x^{8}}{4}+\frac {B \,b^{3} x^{8}}{8}+A a b c \,x^{6}+\frac {A \,b^{3} x^{6}}{6}+\frac {B \,a^{2} c \,x^{6}}{2}+\frac {B a \,b^{2} x^{6}}{2}+\frac {3 A \,a^{2} c \,x^{4}}{4}+\frac {3 A a \,b^{2} x^{4}}{4}+\frac {3 B \,a^{2} b \,x^{4}}{4}+\frac {3 A \,a^{2} b \,x^{2}}{2}+\frac {B \,a^{3} x^{2}}{2}+a^{3} A \ln \left (x \right )\) | \(191\) |
risch | \(\frac {B \,c^{3} x^{14}}{14}+\frac {A \,c^{3} x^{12}}{12}+\frac {B b \,c^{2} x^{12}}{4}+\frac {3 A b \,c^{2} x^{10}}{10}+\frac {3 B a \,c^{2} x^{10}}{10}+\frac {3 B \,b^{2} c \,x^{10}}{10}+\frac {3 A a \,c^{2} x^{8}}{8}+\frac {3 A \,b^{2} c \,x^{8}}{8}+\frac {3 B a b c \,x^{8}}{4}+\frac {B \,b^{3} x^{8}}{8}+A a b c \,x^{6}+\frac {A \,b^{3} x^{6}}{6}+\frac {B \,a^{2} c \,x^{6}}{2}+\frac {B a \,b^{2} x^{6}}{2}+\frac {3 A \,a^{2} c \,x^{4}}{4}+\frac {3 A a \,b^{2} x^{4}}{4}+\frac {3 B \,a^{2} b \,x^{4}}{4}+\frac {3 A \,a^{2} b \,x^{2}}{2}+\frac {B \,a^{3} x^{2}}{2}+a^{3} A \ln \left (x \right )\) | \(191\) |
parallelrisch | \(\frac {B \,c^{3} x^{14}}{14}+\frac {A \,c^{3} x^{12}}{12}+\frac {B b \,c^{2} x^{12}}{4}+\frac {3 A b \,c^{2} x^{10}}{10}+\frac {3 B a \,c^{2} x^{10}}{10}+\frac {3 B \,b^{2} c \,x^{10}}{10}+\frac {3 A a \,c^{2} x^{8}}{8}+\frac {3 A \,b^{2} c \,x^{8}}{8}+\frac {3 B a b c \,x^{8}}{4}+\frac {B \,b^{3} x^{8}}{8}+A a b c \,x^{6}+\frac {A \,b^{3} x^{6}}{6}+\frac {B \,a^{2} c \,x^{6}}{2}+\frac {B a \,b^{2} x^{6}}{2}+\frac {3 A \,a^{2} c \,x^{4}}{4}+\frac {3 A a \,b^{2} x^{4}}{4}+\frac {3 B \,a^{2} b \,x^{4}}{4}+\frac {3 A \,a^{2} b \,x^{2}}{2}+\frac {B \,a^{3} x^{2}}{2}+a^{3} A \ln \left (x \right )\) | \(191\) |
(1/12*A*c^3+1/4*B*b*c^2)*x^12+(3/2*A*a^2*b+1/2*B*a^3)*x^2+(3/10*A*b*c^2+3/ 10*B*a*c^2+3/10*B*b^2*c)*x^10+(3/4*A*c*a^2+3/4*A*a*b^2+3/4*B*a^2*b)*x^4+(3 /8*A*a*c^2+3/8*A*b^2*c+3/4*B*a*b*c+1/8*B*b^3)*x^8+(A*a*b*c+1/6*A*b^3+1/2*a ^2*B*c+1/2*B*a*b^2)*x^6+1/14*B*c^3*x^14+a^3*A*ln(x)
Time = 0.24 (sec) , antiderivative size = 164, normalized size of antiderivative = 1.01 \[ \int \frac {\left (A+B x^2\right ) \left (a+b x^2+c x^4\right )^3}{x} \, dx=\frac {1}{14} \, B c^{3} x^{14} + \frac {1}{12} \, {\left (3 \, B b c^{2} + A c^{3}\right )} x^{12} + \frac {3}{10} \, {\left (B b^{2} c + {\left (B a + A b\right )} c^{2}\right )} x^{10} + \frac {1}{8} \, {\left (B b^{3} + 3 \, A a c^{2} + 3 \, {\left (2 \, B a b + A b^{2}\right )} c\right )} x^{8} + \frac {1}{6} \, {\left (3 \, B a b^{2} + A b^{3} + 3 \, {\left (B a^{2} + 2 \, A a b\right )} c\right )} x^{6} + \frac {3}{4} \, {\left (B a^{2} b + A a b^{2} + A a^{2} c\right )} x^{4} + A a^{3} \log \left (x\right ) + \frac {1}{2} \, {\left (B a^{3} + 3 \, A a^{2} b\right )} x^{2} \]
1/14*B*c^3*x^14 + 1/12*(3*B*b*c^2 + A*c^3)*x^12 + 3/10*(B*b^2*c + (B*a + A *b)*c^2)*x^10 + 1/8*(B*b^3 + 3*A*a*c^2 + 3*(2*B*a*b + A*b^2)*c)*x^8 + 1/6* (3*B*a*b^2 + A*b^3 + 3*(B*a^2 + 2*A*a*b)*c)*x^6 + 3/4*(B*a^2*b + A*a*b^2 + A*a^2*c)*x^4 + A*a^3*log(x) + 1/2*(B*a^3 + 3*A*a^2*b)*x^2
Time = 0.14 (sec) , antiderivative size = 199, normalized size of antiderivative = 1.23 \[ \int \frac {\left (A+B x^2\right ) \left (a+b x^2+c x^4\right )^3}{x} \, dx=A a^{3} \log {\left (x \right )} + \frac {B c^{3} x^{14}}{14} + x^{12} \left (\frac {A c^{3}}{12} + \frac {B b c^{2}}{4}\right ) + x^{10} \cdot \left (\frac {3 A b c^{2}}{10} + \frac {3 B a c^{2}}{10} + \frac {3 B b^{2} c}{10}\right ) + x^{8} \cdot \left (\frac {3 A a c^{2}}{8} + \frac {3 A b^{2} c}{8} + \frac {3 B a b c}{4} + \frac {B b^{3}}{8}\right ) + x^{6} \left (A a b c + \frac {A b^{3}}{6} + \frac {B a^{2} c}{2} + \frac {B a b^{2}}{2}\right ) + x^{4} \cdot \left (\frac {3 A a^{2} c}{4} + \frac {3 A a b^{2}}{4} + \frac {3 B a^{2} b}{4}\right ) + x^{2} \cdot \left (\frac {3 A a^{2} b}{2} + \frac {B a^{3}}{2}\right ) \]
A*a**3*log(x) + B*c**3*x**14/14 + x**12*(A*c**3/12 + B*b*c**2/4) + x**10*( 3*A*b*c**2/10 + 3*B*a*c**2/10 + 3*B*b**2*c/10) + x**8*(3*A*a*c**2/8 + 3*A* b**2*c/8 + 3*B*a*b*c/4 + B*b**3/8) + x**6*(A*a*b*c + A*b**3/6 + B*a**2*c/2 + B*a*b**2/2) + x**4*(3*A*a**2*c/4 + 3*A*a*b**2/4 + 3*B*a**2*b/4) + x**2* (3*A*a**2*b/2 + B*a**3/2)
Time = 0.19 (sec) , antiderivative size = 167, normalized size of antiderivative = 1.03 \[ \int \frac {\left (A+B x^2\right ) \left (a+b x^2+c x^4\right )^3}{x} \, dx=\frac {1}{14} \, B c^{3} x^{14} + \frac {1}{12} \, {\left (3 \, B b c^{2} + A c^{3}\right )} x^{12} + \frac {3}{10} \, {\left (B b^{2} c + {\left (B a + A b\right )} c^{2}\right )} x^{10} + \frac {1}{8} \, {\left (B b^{3} + 3 \, A a c^{2} + 3 \, {\left (2 \, B a b + A b^{2}\right )} c\right )} x^{8} + \frac {1}{6} \, {\left (3 \, B a b^{2} + A b^{3} + 3 \, {\left (B a^{2} + 2 \, A a b\right )} c\right )} x^{6} + \frac {3}{4} \, {\left (B a^{2} b + A a b^{2} + A a^{2} c\right )} x^{4} + \frac {1}{2} \, A a^{3} \log \left (x^{2}\right ) + \frac {1}{2} \, {\left (B a^{3} + 3 \, A a^{2} b\right )} x^{2} \]
1/14*B*c^3*x^14 + 1/12*(3*B*b*c^2 + A*c^3)*x^12 + 3/10*(B*b^2*c + (B*a + A *b)*c^2)*x^10 + 1/8*(B*b^3 + 3*A*a*c^2 + 3*(2*B*a*b + A*b^2)*c)*x^8 + 1/6* (3*B*a*b^2 + A*b^3 + 3*(B*a^2 + 2*A*a*b)*c)*x^6 + 3/4*(B*a^2*b + A*a*b^2 + A*a^2*c)*x^4 + 1/2*A*a^3*log(x^2) + 1/2*(B*a^3 + 3*A*a^2*b)*x^2
Time = 0.27 (sec) , antiderivative size = 193, normalized size of antiderivative = 1.19 \[ \int \frac {\left (A+B x^2\right ) \left (a+b x^2+c x^4\right )^3}{x} \, dx=\frac {1}{14} \, B c^{3} x^{14} + \frac {1}{4} \, B b c^{2} x^{12} + \frac {1}{12} \, A c^{3} x^{12} + \frac {3}{10} \, B b^{2} c x^{10} + \frac {3}{10} \, B a c^{2} x^{10} + \frac {3}{10} \, A b c^{2} x^{10} + \frac {1}{8} \, B b^{3} x^{8} + \frac {3}{4} \, B a b c x^{8} + \frac {3}{8} \, A b^{2} c x^{8} + \frac {3}{8} \, A a c^{2} x^{8} + \frac {1}{2} \, B a b^{2} x^{6} + \frac {1}{6} \, A b^{3} x^{6} + \frac {1}{2} \, B a^{2} c x^{6} + A a b c x^{6} + \frac {3}{4} \, B a^{2} b x^{4} + \frac {3}{4} \, A a b^{2} x^{4} + \frac {3}{4} \, A a^{2} c x^{4} + \frac {1}{2} \, B a^{3} x^{2} + \frac {3}{2} \, A a^{2} b x^{2} + \frac {1}{2} \, A a^{3} \log \left (x^{2}\right ) \]
1/14*B*c^3*x^14 + 1/4*B*b*c^2*x^12 + 1/12*A*c^3*x^12 + 3/10*B*b^2*c*x^10 + 3/10*B*a*c^2*x^10 + 3/10*A*b*c^2*x^10 + 1/8*B*b^3*x^8 + 3/4*B*a*b*c*x^8 + 3/8*A*b^2*c*x^8 + 3/8*A*a*c^2*x^8 + 1/2*B*a*b^2*x^6 + 1/6*A*b^3*x^6 + 1/2 *B*a^2*c*x^6 + A*a*b*c*x^6 + 3/4*B*a^2*b*x^4 + 3/4*A*a*b^2*x^4 + 3/4*A*a^2 *c*x^4 + 1/2*B*a^3*x^2 + 3/2*A*a^2*b*x^2 + 1/2*A*a^3*log(x^2)
Time = 7.77 (sec) , antiderivative size = 166, normalized size of antiderivative = 1.02 \[ \int \frac {\left (A+B x^2\right ) \left (a+b x^2+c x^4\right )^3}{x} \, dx=x^6\,\left (\frac {B\,c\,a^2}{2}+\frac {B\,a\,b^2}{2}+A\,c\,a\,b+\frac {A\,b^3}{6}\right )+x^8\,\left (\frac {B\,b^3}{8}+\frac {3\,A\,b^2\,c}{8}+\frac {3\,B\,a\,b\,c}{4}+\frac {3\,A\,a\,c^2}{8}\right )+x^2\,\left (\frac {B\,a^3}{2}+\frac {3\,A\,b\,a^2}{2}\right )+x^{12}\,\left (\frac {A\,c^3}{12}+\frac {B\,b\,c^2}{4}\right )+x^4\,\left (\frac {3\,B\,a^2\,b}{4}+\frac {3\,A\,c\,a^2}{4}+\frac {3\,A\,a\,b^2}{4}\right )+x^{10}\,\left (\frac {3\,B\,b^2\,c}{10}+\frac {3\,A\,b\,c^2}{10}+\frac {3\,B\,a\,c^2}{10}\right )+\frac {B\,c^3\,x^{14}}{14}+A\,a^3\,\ln \left (x\right ) \]
x^6*((A*b^3)/6 + (B*a*b^2)/2 + (B*a^2*c)/2 + A*a*b*c) + x^8*((B*b^3)/8 + ( 3*A*a*c^2)/8 + (3*A*b^2*c)/8 + (3*B*a*b*c)/4) + x^2*((B*a^3)/2 + (3*A*a^2* b)/2) + x^12*((A*c^3)/12 + (B*b*c^2)/4) + x^4*((3*A*a*b^2)/4 + (3*A*a^2*c) /4 + (3*B*a^2*b)/4) + x^10*((3*A*b*c^2)/10 + (3*B*a*c^2)/10 + (3*B*b^2*c)/ 10) + (B*c^3*x^14)/14 + A*a^3*log(x)